package cn.edu.nju.software.smartup;

import android.view.*;
import android.widget.ImageView;
import android.widget.TextView;

public class AppViewWrapperList {
	View base;
	TextView text1,text2,text3;
	ImageView image;
	
	public AppViewWrapperList(View v){
		this.base = v;
	}
	public TextView getText1(){
		if(text1 != null){
			return text1;
		}
		text1 = (TextView)base.findViewById(R.id.text1);
		return text1;
	}
	public TextView getText2(){
		if(text2 != null){
			return text2;
		}
		text2 = (TextView)base.findViewById(R.id.text2);
		return text2;
	}
	public TextView getText3(){
		if(text3 != null){
			return text3;
		}
		text3 = (TextView)base.findViewById(R.id.text3);
		return text3;
	}
	
	public ImageView getImage(){
		if(image != null){
			return image;
		}
		image = (ImageView)base.findViewById(R.id.image);
		return image;
	}	
}
